﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Utility
{
    /// <summary>
    /// CMS 常量类
    /// </summary>
    public class CmsConstants
    {
        //是
        public const int YES = 1;
        //否
        public const int NO = 0;
        /// <summary>
        /// 内容正稿(等待审核) 或 不发布
        /// </summary>
        public const int STATE_INIT = 0;
        /// <summary>
        /// 发布状态
        /// </summary>
        public const int STATE_PUB = 1;
        /// <summary>
        /// 审核通过状态
        /// </summary>
        public const int STATE_AUDIT_YES = 2;
        /// <summary>
        /// 审核未通过状态
        /// </summary>
        public const int STATE_AUDIT_NO = 3;
        /// <summary>
        /// 草稿
        /// </summary>
        public const int STATE_DRAFT = 4;
        /// <summary>
        /// 撤消发布
        /// </summary>
        public const int STATE_PUB_NO = 6;
        //题头
        public const int IMG_TYPE_TITLE = 1;
        //首页热点
        public const int IMG_TYPE_HOTS = 2;
        //KV
        public const int IMG_TYPE_KV = 3;
        //栏目热点
        public const int IMG_TYPE_COLUMN_HOTS = 4;
        //普通
        public const int IMG_TYPE_COMMON = 0;

        public const int IMG_BRAND = 5;
        public const int IMG_PRODUCT = 6;

        //文章
        public const string ARTICLE_TYPE_CON = "1";
        //外部链接文章
        public const string ARTICLE_TYPE_LINK = "2";
        //下载文章
        public const string ARTICLE_TYPE_DOWNLOAD = "3";
        public const int COLUMN_HISTORY = 100;

        public static bool isLabelUpdate = true;
 
    }
}
